package com.xutong.myfunction.entity;

/**
 * Created by hasee on 2016/9/26.
 */
public class ResultData<T> {

    private boolean State;

    private int Code;

    private String Msg;

    private T Data ;

    public void setState(boolean State){
        this.State = State;
    }
    public boolean getState(){
        return this.State;
    }
    public void setCode(int Code){
        this.Code = Code;
    }
    public int getCode(){
        return this.Code;
    }
    public void setMsg(String Msg){
        this.Msg = Msg;
    }
    public String getMsg(){
        return this.Msg;
    }
    public void setData(T Data){
        this.Data = Data;
    }
    public T getData(){
        return this.Data;
    }

    @Override
    public String toString() {
        return "ResultData{" +
                "State=" + State +
                ", Code=" + Code +
                ", Msg='" + Msg + '\'' +
                ", Data=" + Data +
                '}';
    }
}
